<%--
  Created by IntelliJ IDEA.
  User: huawei
  Date: 2022/3/7
  Time: 18:20
  To change this template use File | Settings | File Templates.
  //tomcat高版本不支持jsp的get/post/head之外的请求，可以设置错误页面参数isErrorPage=“true”
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isErrorPage="true" %>

<html>
<head>
    <title>登录</title>
    <script src="js/jquery-1.11.3.min.js"></script>
    <script src="/js/login.js" type=text/javascript></script>
    <style>
        div{
            border: 50px;
            margin-left: 320px;
            margin-top: 10px;
            margin-bottom: 20px;
            padding: 30px;
        }
        body{
            margin: 100px;
            padding: 100px;
            background-size: cover;
            color: #2a85a0;
            background: lightblue;
        }
    </style>
</head>


<body>
<header class="loginHeader" style="text-align:center">
    <h1>学生管理登录系统</h1>
</header>
<form  action="/user" method="post" name="actionForm" id="actionForm" >
    <div class="inputbox">
        <label for="userName">用户名：</label>
        <input type="text" class="input-text" id="userName" name="userName" placeholder="请输入用户名" required/>
    </div>
    <div class="inputbox">
        <label for="userPassword">   密   码：</label>
        <input type="password" id="userPassword" name="userPassword" placeholder="请输入密码" required/>
    </div>
    <div>
        <input type="submit"  value="登 录" onclick="checkLogin()"/>
        <input type="reset"   value="重 置"/>
    </div>

</form>
</body>
</html>
